<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManageUser.aspx.cs" Inherits="Admin_ManageUser" MasterPageFile="~/Skin/dj.master" %>
<asp:Content ContentPlaceHolderID="holder" ID="main" runat="server">
    <table cellpadding="0" cellspacing="0" class="general" width="100%" style="vertical-align: top">
        <tr>
            <td class="generaltd" style="width: 100%; vertical-align: top; background-color: #2222aa;"><asp:Label ID="lblHeader" runat="server" Font-Size="Small" Font-Bold="true"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 100%; height: 100%; vertical-align: top">
                <div id="divSearch" runat="server" class="scrolldiv" style="height: 300px;">
                    <asp:GridView ID="gvUser" runat="server" Width="100%" CssClass="gridview" OnRowCommand="gvUser_RowCommand" OnRowDataBound="gvUser_RowDataBound">
                        <AlternatingRowStyle CssClass="alternate" />
                        <Columns>
                             <asp:TemplateField HeaderText="Active">
                                <ItemTemplate>
                                    <table cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td style="vertical-align: middle">
                                                <asp:Image ID="imgActive" ImageUrl='<%# GetImage(Eval("Active").ToString()) %>' runat="server" Height="15" Width="15" />                                            
                                            </td>
                                            <td style="vertical-align: middle">
                                                <asp:LinkButton ID="btnActive" runat="server" CommandName="Activate"  CommandArgument='<%# Eval("Id") %>' Text='<%# GetActivationText(Eval("Active").ToString()) %>' CssClass="link" />
                                            </td>
                                        </tr>
                                    </table>
                                    
                                </ItemTemplate>
                             </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="prevButton" runat="server">
    <img id="btnPrev" runat="server" class="pointer" src="~/Images/dj/prev.gif" alt="Previous"/>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="nextButton" runat="server">
    <img id="btnNext" runat="server" class="pointer" src="~/Images/dj/next.gif" alt="Next"/>
</asp:Content>
